<template>
  <div>
    <!-- <h2>使用兑换码</h2> -->
    <span class="kong"></span>
    <div class="head">
      <van-nav-bar title="使用兑换码" left-arrow @click-left="onClickLeft" fixed/>
    </div>
    <div class="main">
      <van-icon name="point-gift" size="90px"/>
      <p>在网站或实物中获取兑换码，</p>
      <p>填入下方输入框进行兑换。</p>
      <input type="text" placeholder="请输入兑换码">
      <van-button type="primary" size="large">立即兑换</van-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "Cdkey",
  methods: {
    onClickLeft() {
      this.$router.push("/myspeed");
    }
  }
};
</script>

<style scoped>
.kong {
  display: block;
  height: 50px;
}
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main p {
  color: rgba(16, 16, 16, 1);
  font-size: 12px;
  text-align: center;
  font-family: Arial-regular;
}
.main p:nth-of-type(2) {
  margin-top: 0px;
}
.main input {
  width: 250px;
  height: 30px;
  color: rgba(136, 136, 136, 1);
  font-size: 16px;
  text-align: left;
  font-family: Microsoft Yahei;
  border: 1px solid rgba(255, 255, 255, 0);
  border-bottom: 1px solid #aaa;
}
.main .van-button {
  width: 250px;
  height: 40px;
  line-height: 20px;
  background-color: rgba(68, 68, 68, 1);
  color: #fff;
  font-size: 14px;
  text-align: center;
  font-family: Arial;
  border: 1px solid rgba(255, 255, 255, 0);
  margin-top: 10px;
}
</style>
